package org.particlethink.service.listen.event;

import org.springframework.context.ApplicationEvent;

/**
 * 供应商确认子订单
 */
public class ConfirmDeliverEvent extends ApplicationEvent {
    private final Integer deliveredId;

    public ConfirmDeliverEvent(Object source) {
        super(source);
        deliveredId = (Integer) source;
    }

    public Integer getDeliveredId() {
        return deliveredId;
    }

    //    public SendMessageEvent(Object source, String message) {
//        super(source);
//        this.message = message;
//    }
//
//    public String getMessage() {
//        return message;
//    }

}
